﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OOPProperty
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Player p = new Player(100);
            Console.WriteLine(p.Money);
            p.AddMoney(100);
            Console.WriteLine(p.Money);
            Console.ReadLine();
        }
    }
}
